package com.config;

import com.sun.javafx.scene.control.skin.VirtualFlow;
import com.sun.org.apache.bcel.internal.generic.NEW;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by  qdf on 2019/3/13.
 */
@Component
@ConfigurationProperties(prefix="spring")
public class PropertiesInfo {

    private  Map<String, Map<String,Object>> datasource=new HashMap<>();

    public Map<String, Map<String, Object>> getDatasource() {
        return datasource;
    }

    public void setDatasource(Map<String, Map<String, Object>> datasource) {
        this.datasource = datasource;
    }
}
